package com.chuantou.yuba.api.to;

import com.google.gson.annotations.SerializedName;

import android.os.Parcel;
import android.os.Parcelable;

public class IntegralTO implements Parcelable {
	// 积分ID
	@SerializedName("id")
	private long id;
	// 事件名称
	@SerializedName("change_type")
	private String changeReason;
	// 积分改变数量
	@SerializedName("change_value")
	private int integral;
	// 积分时间
	@SerializedName("dateline")
	private long time;
	@SerializedName("change_method")
	private int changeMethod;

	@Override
	public int describeContents() {
		return 0;
	}

	@Override
	public void writeToParcel(Parcel dest, int flags) {
	}

	public long getId() {
		return id;
	}

	public void setId(long id) {
		this.id = id;
	}

	public String getChangeReason() {
		return changeReason;
	}

	public void setChangeReason(String changeReason) {
		this.changeReason = changeReason;
	}

	public int getIntegral() {
		return integral;
	}

	public void setIntegral(int integral) {
		this.integral = integral;
	}

	public long getTime() {
		return time;
	}

	public void setTime(long time) {
		this.time = time;
	}

	public int getChangeMethod() {
		return changeMethod;
	}

	public void setChangeMethod(int changeMethod) {
		this.changeMethod = changeMethod;
	}

}
